package com.example;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author Jonathan
 * 2021/4/23 19:15
 * <p>
 * about: proxyTargetClass
 * @link {https://www.cnblogs.com/liaojie970/p/7736450.html}
 */
@EnableCaching
@EnableAsync(proxyTargetClass = true)
@SpringBootApplication(
        scanBasePackages = "com.example"
)
public class BootDemoApp {
    public static void main(String[] args) {
        SpringApplication.run(BootDemoApp.class);
    }
}
